<!DOCTYPE html>
<html lang="en">
<head>
    {% load static %}
    <link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
    <meta charset="UTF-8">

    <title>Title</title>
</head>
<body>


<h1>点击投票</h1>
<div id="d1">
    {% if latest_question_list %}
    <ul>
        {% for i in latest_question_list%}
        <li><a href="{% url 'polls:detail' i.id %}">{{i.question_text}}</a></li>
        {% endfor %}
    </ul>
    {% else %}
    <p>暂无信息</p>
    {% endif %}
</div>
</body>
</html>


